
#ifndef _T2Y_MAIN_H_
#define _T2Y_MAIN_H_

typedef unsigned char boolean;

#ifndef TRUE
#define TRUE ((unsigned char)1)
#endif

#ifndef FALSE
#define FALSE ((unsigned char)0)
#endif

#ifdef UNITTEST
void t2y_main(int argc, char* argv[]);
#endif


#ifdef UNITTEST
#define STR_BUF_LEN 1024
extern char printed_string[STR_BUF_LEN];
void print_info(const char *fmt, ...);
#else
#define print_info printf
#endif

#endif /*_T2Y_MAIN_H_*/
